<?php
if( is_admin() ) {

	/* Start of: WordPress Administration */

	function wpsc_fl_template_header() {

		global $wpsc_fl; ?>
<div id="profile-page" class="wrap">
	<div id="icon-options-general" class="icon32"><br /></div>
	<h2><?php echo $wpsc_fl['menu']; ?></h2>
<?php
	}

	function wpsc_fl_template_footer() { ?>
</div>
<?php
	}

	function wpsc_fl_check_options_exist() {

		$position = get_option( 'vl_wpscflb_position' );
		if( $position )
			return true;

	}

	/* End of: WordPress Administration */

} else {

	/* Start of: Storefront */

	if( !function_exists( 'wpsc_clean_url' ) ) {

		function wpsc_clean_url( $string ) {

			$string = str_replace( ':', '%253A', $string );
			$string = str_replace( '/', '%252F', $string );
			$string = str_replace( ' ', '%2B', $string );
			return $string;

		}

	}

	/* End of: Storefront */

}
?>